package edu.fpa.day0806;

import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class TestThrows {
    public static void main(String [] args) throws IOException {
        Throws();

    }
    public static void Throws() throws IOException {
        FileReader fileReader=new FileReader("e:/bb.txt");
        char  first=(char)fileReader.read();
        System.out.println(first);




        if (fileReader!=null){
            fileReader.close();
        }


    }
}
